package MediatorMod;

import MediatorMod.code.Systems;

// 客户端类
public class Client {

    public static void main(String[] args) {
        code code = new code();
        Systems system = code.new Systems();
        system.createColleagues();

        // 模拟旅行社子系统分享信息给其他子系统
        system.shareInformation("有新客户到达", system.colleagues.get("TravelCompaniesSubsystem"));
    }
}